<?php
class AdminusrModel extends Model {

	public function getAllUsers() {
		$users = array();
		$result = $this->selectAllIds('user');
		foreach ($result as $row) {
			$users[] = new User($row->id);
		}
		return $users;
	}
}